package com.zhongyu.item.provider.apiimpl;

import com.zhongyu.comm.api.CinemaApi;
import com.zhongyu.comm.pojo.Cinema;
import com.zhongyu.item.provider.mapper.CinemaMapper;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;

@RestController
public class CinemaApiImpl implements CinemaApi {

    @Resource
    private CinemaMapper cinemaMapper;

    @Override
    public Cinema findById(Integer id) {
        return cinemaMapper.selectById(id);
    }
}
